import Vue from "vue"
import $locale from "./$locale"

Vue.mixin({
  methods: {
    $msg: function(key) {
      return $locale.MESSAGES[key]
    }
  }
})